package com.pay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_business_order
 */
@TableName(value ="tb_business_order")
@Data
public class TbBusinessOrder implements Serializable {
    /**
     * 订单主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 订单编号
     */
    private Long orderNum;

    /**
     * 选择会员的时间
     */
    private String memberName;

    /**
     * 订单生成时间
     */
    private LocalDateTime orderTime;

    /**
     * 订单价格
     */
    private BigDecimal orderPrice;

    /**
     * 商家id
     */
    private Integer businessId;

    /**
     * 支付状态
     */
    private Integer payState;

    /**
     * 1、微信支付，2、支付宝支付，3、银联支付
     */
    private Integer payWay;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}